Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Microchip Technology/ATSAME51J19A/PDEC/INTFLAG#0x0
Interrupt Flag Status and Clear
Overflow/Underflow
Error
Direction Change
Velocity
Channel 0 Compare Match
Channel 1 Compare Match
https://github.com/cmsis-svd/cmsis-svd-data